<?
if(!defined('L_ADMOD')) {echo "<meta http-equiv='refresh' content='0; url=/?nma=error&act=403'>";exit;}
include("./inc/bloced.php");

$butt=_ADD_;
$act="newpr";
if (isset($item) && $item=='editfrm')
{
	$query=mysql_query("SELECT * FROM ".$wcpref.$op."_product WHERE mod_id_prod='".$lid."'");
	$result=mysql_fetch_array($query);
	extract($result);
	$butt=_EDIT_;
	$act="edpr&lid=".$lid."";
}

print '<br><br><form name="form" method="post" action="admin.php?op='.$op.'&flag=goto&action='.$act.'">
	<table border="0" cellpadding="1" cellspacing="1" align="center">
		<tr class="even">
			<td>
				'._NAMERAZD_.'
			</td>
			<td>
				<input type="text" name="new_product" size="50" value="'.$mod_product.'">
			</td>
		</tr>
		<tr>
			<td colspan="2" class="head" align="center"><input type="submit" value="'.$butt.'"></td>
		</tr>
	</table>
</form>';
?>